<?php 
session_cache_expire(999999999);
if(!isset($_SESSION)) 
{ 
session_start(); 
} 
?>
<input type="hidden" id="viewcheckdb_username" value="<?php echo $_SESSION['checkdb_username'];?>" />